Added 'maxcmts' argument to Magellan SD writer.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 10 Jan 2006 21:15:37 +0000 (21:15 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 10 Jan 2006 21:15:37 +0000 (21:15 +0000)
gpsbabel/magproto.c

index bbde002463318a5b752779fc6afca6921816b688..74638159c1584a71e7db7febf2b0ee6f4617e90b 100644 (file)
@@ -730,6 +730,9 @@ arglist_t mag_sargs[] = {
 static
 arglist_t mag_fargs[] = {
        {"deficon", &deficon, "Default icon name", NULL, ARGTYPE_STRING },
+       {"maxcmts", &cmts, "Max number of comments to write (maxcmts=200)", 
+               NULL, ARGTYPE_INT },
+       {"deficon", &deficon, "Default icon name", NULL, ARGTYPE_STRING },
        {0, 0, 0, 0, 0}
 };
 
@@ -1471,6 +1474,6 @@ ff_vecs_t magX_fvecs = {
        mag_read,
        mag_write,
        NULL,
-       NULL,
+       mag_fargs,
        CET_CHARSET_ASCII, 0    /* CET-REVIEW */
 };